html,
body {
  height: 100%;
}
.two-line {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
#app {
  height: 100%;
  padding: 30px;
  background-color: #eff1f7;
}
#app .empty-box {
  text-align: center;
  height: 200px;
  line-height: 200px;
}
#app .divider-title {
  display: flex;
  align-items: center;
}
#app .divider-title .divider-lt {
  width: 50px;
  height: 1px;
  background-color: #e4e7ed;
}
#app .divider-title .title {
  margin: 20px 10px;
  color: #303133;
}
#app .divider-title .divider-rt {
  flex: 1;
  height: 1px;
  background-color: #e4e7ed;
}
#app .select-box .custom-select {
  position: relative;
  display: inline-block;
  padding: 20px 0;
}
#app .select-box .custom-select select {
  display: none;
}
#app .select-box .custom-select:hover .options {
  display: block;
}
#app .select-box .custom-select .select-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  width: 200px;
  border-radius: 20px;
  margin: 0 15px;
  padding: 10px 20px;
}
#app .select-box .custom-select .select-box input {
  margin-left: 6px;
  border: none;
  height: 100%;
  outline: none;
  background-color: #fff;
}
#app .select-box .custom-select .options {
  position: absolute;
  top: 100%;
  left: 10px;
  z-index: 9;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  min-width: 220px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
}
#app .select-box .custom-select .options .option-item {
  margin-bottom: 10px;
}
#app .select-box .custom-select .options.show {
  display: block;
}
#app .select-box select {
  margin: 0 20px;
  min-width: 120px;
  padding: 5px 10px;
  border: 1px solid #e4e7ed;
}
#app .select-box select option {
  padding: 5px 10px;
}
#app main {
  display: flex;
  flex-wrap: wrap;
}
#app main .table-wrapper {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  background: #ececf1;
  padding: 5px;
}
#app main .left {
  flex: 1;
}
#app main .left .pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#app main .left .pagination {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 2px 20px;
  border-radius: 1.5rem;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.05), 0 2px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 5px 1px rgba(0, 0, 0, 0.05) !important;
}
#app main .left .pagination li {
  margin-right: 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
#app main .left .pagination a {
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  z-index: 3;
  border-radius: 5rem;
  color: #333;
  transform: scale(1.05);
}
#app main .left .icon-next {
  display: none;
}
#app main .left .pagination a:hover {
  background-color: #586cb1;
  color: #fff;
}
#app main .left .pagination .active a {
  background-color: #586cb1;
  color: #fff;
}
#app main .left .next-page:hover .icon-next,
#app main .left .pre-page:hover .icon-next {
  display: block !important;
}
#app main .left .next-page:hover .icon-more,
#app main .left .pre-page:hover .icon-more {
  display: none;
}
#app main .left table {
  width: 100%;
  border-collapse: collapse;
  /* 合并单元格边框 */
  /* 设置表格整体边框样式 */
}
#app main .left table thead th {
  padding: 10px;
}
#app main .left table .tbody {
  background-color: #fff;
}
#app main .left tr {
  border-bottom: 1px solid #e4e7ed;
  /* 设置水平线 */
}
#app main .left td {
  padding: 5px 10px;
  background-color: #fff;
  /* 设置垂直线 */
}
#app main .left td img {
  width: 50px;
  height: 30px;
}
#app main .left td button {
  width: 80px;
  background-color: #409eff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
}
#app main .right {
  margin-left: 50px;
  flex: 1;
}
#app main .right .select-list .select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
}
#app main .right .select-list .select-item img {
  width: 36px;
  height: 36px;
}
#app main .right .select-list .select-item .good-name {
  margin: 0 15px;
}
#app main .right .select-list .select-item .good-num {
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  padding: 10px;
  display: flex;
}
#app main .right .select-list .select-item .good-num .jia-jian {
  cursor: pointer;
}
#app main .right .select-list .select-item .good-num input {
  width: 40px;
  border: none;
  text-align: center;
}
#app footer {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /*
    button {
      background-color: #fff;
      color: #586cb1;
      border: 1px solid #586cb1;
      padding: 10px 20px;
      border-radius: 4px;
      display: flex;
      align-items: center;
    }
 */
}
#app footer span {
  margin-right: 30px;
}
#app footer input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e4e7ed;
  margin-right: 20px;
}
#app .dialog {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.3);
}
#app .dialog .dialog-content {
  margin-top: 20%;
  width: 700px;
  height: 400px;
  background-color: #fff;
}
#app .dialog .dialog-content .dialog-title {
  padding: 20px;
  font-size: 20px;
}
#app .dialog .dialog-content .dialog-body {
  padding: 20px;
}
#app .dialog .dialog-content .dialog-body label {
  display: inline-block;
  width: 120px;
}
#app .dialog .dialog-content .dialog-body .form-item {
  margin-bottom: 20px;
}
#app .dialog .dialog-content .dialog-body select {
  padding: 5px 10px;
  border-radius: 8px;
}
#app .dialog .dialog-content .dialog-body input {
  padding: 5px 10px;
  border-radius: 8px;
}
#app .dialog .dialog-content .dialog-footer {
  padding: 20px;
  text-align: right;
}
#app .dialog .dialog-content .dialog-footer button {
  padding: 10px 30px;
  border-radius: 8px;
  border: none;
}
#app .dialog .dialog-content .dialog-footer .confirm {
  background-color: #409eff;
  color: #fff;
}
